package com.slixils.demo.exception;

import com.slixils.demo.vo.RespBeanEnum;

/**
 * @Author: JinChongLi
 * @Description:
 * @Date: Created in 1:36 2022/4/6
 * @Modified By:
 */
public class GlobalException extends RuntimeException {

    private RespBeanEnum respBeanEnum;

    public RespBeanEnum getRespBeanEnum() {
        return respBeanEnum;
    }

    public void setRespBeanEnum(RespBeanEnum respBeanEnum) {
        this.respBeanEnum = respBeanEnum;
    }

    public GlobalException(RespBeanEnum respBeanEnum) {
        this.respBeanEnum = respBeanEnum;
    }
}
